package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备信息对象 dzbq_deviceinfo
 * 
 * @author tianxingxia
 * @date 2025-02-06
 */
public class DzbqDeviceinfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备ID */
    private Long deviceId;

    /** 设备系统 */
    private Long systemId;

    /** 设备类型 */
    private Long typeId;

    /** 设备屏幕 */
    private Long dzbqTypeId;

    /** 制造商 */
    private Long manufacturerId;

    /** 所属客户 */
    private Long userId;

    /** 代理人 */
    private Long agentId;

    /** 商家店铺 */
    @Excel(name = "商家店铺")
    private Long storeId;

    /** 购买方式 */
    @Excel(name = "购买方式")
    private Integer useMode;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal price;

    /** 使用开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "使用开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date beginDate;

    /** 使用结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "使用结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endDate;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Integer isDeleted;

    /** 默认模板 */
    @Excel(name = "默认模板")
    private String defaultTemplate;

    /** 默认图像 */
    @Excel(name = "默认图像")
    private String defaultImg;

    /** 卡号 */
    private String cardNumber;

    /** 卡开始时间 */
    private Date cardBeginDate;

    /** 卡充值日期 */
    private Date cardRechargeDate;

    /** 卡使用日期 */
    private Date cardUseDate;

    /** 更新周期 */
    @Excel(name = "更新周期")
    private Integer updateCycle;

    /** 最后更新 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后更新", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastUpdateDate;

    /** 最后下载 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后下载", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastDownDate;

    /** 更新图片 */
    private Boolean updateImg;

    /** 更新速度 */
    private Boolean updateSpeed;

    /** 更新地址 */
    private Boolean updateUrl;

    /** 更新默认图 */
    private Boolean updateDefaultImg;

    /** 处理器 */
    private Long cpuId;

    /** 电量 */
    @Excel(name = "电量")
    private Long power;

    /** 信号强度 */
    @Excel(name = "信号强度")
    private Long singal;

    /** 流 */
    @Excel(name = "流")
    private Long flow;

    /** 充电时间 */
    @Excel(name = "充电时间")
    private Long chargeTimes;

    /** 图片ID */
    private Long imgId;

    /** 图片 */
    @Excel(name = "图片")
    private String img;

    /** 绑定图片 */
    @Excel(name = "绑定图片")
    private String bindImg;

    /** 绑定图片数据 */
    @Excel(name = "绑定图片数据")
    private String bindImgData;

    /** 固件是否升级 */
    @Excel(name = "固件是否升级")
    private Integer firmwareUpgrade;

    /** 固件升级状态 */
    @Excel(name = "固件升级状态")
    private Integer firmwareUpgradeResult;

    /** 固件升级时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "固件升级时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date firmwareUpgradeTime;

    /** 超时更新周期 */
    @Excel(name = "超时更新周期")
    private Long timeOutUpdateCycle;

    /** 状态 */
    @Excel(name = "状态")
    private Integer state;

    /** 旋转翻转 */
    private Integer rotateFlip;

    /** 旋转 */
    private Integer rotateType;

    /** 翻转 */
    private Integer flipType;

    /** 更新日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateDate;

    /** 最后激活IP */
    @Excel(name = "最后激活IP")
    private String lastActiveIp;

    /** 纬度 */
    @Excel(name = "纬度")
    private Long lat;

    /** 经度 */
    @Excel(name = "经度")
    private Long lng;

    /** 国家 */
    @Excel(name = "国家")
    private String nation;

    /** 省份 */
    @Excel(name = "省份")
    private String province;

    /** 城市 */
    @Excel(name = "城市")
    private String city;

    /** 行政区 */
    @Excel(name = "行政区")
    private String district;

    /** 强制更新 */
    @Excel(name = "强制更新")
    private Integer forceUpdate;

    /** 创建者ID */
    @Excel(name = "创建者ID")
    private Long createUserId;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dateCreated;

    public void setDeviceId(Long deviceId) 
    {
        this.deviceId = deviceId;
    }

    public Long getDeviceId() 
    {
        return deviceId;
    }
    public void setSystemId(Long systemId) 
    {
        this.systemId = systemId;
    }

    public Long getSystemId() 
    {
        return systemId;
    }
    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }
    public void setDzbqTypeId(Long dzbqTypeId) 
    {
        this.dzbqTypeId = dzbqTypeId;
    }

    public Long getDzbqTypeId() 
    {
        return dzbqTypeId;
    }
    public void setManufacturerId(Long manufacturerId) 
    {
        this.manufacturerId = manufacturerId;
    }

    public Long getManufacturerId() 
    {
        return manufacturerId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setAgentId(Long agentId) 
    {
        this.agentId = agentId;
    }

    public Long getAgentId() 
    {
        return agentId;
    }
    public void setStoreId(Long storeId) 
    {
        this.storeId = storeId;
    }

    public Long getStoreId() 
    {
        return storeId;
    }
    public void setUseMode(Integer useMode) 
    {
        this.useMode = useMode;
    }

    public Integer getUseMode() 
    {
        return useMode;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setBeginDate(Date beginDate) 
    {
        this.beginDate = beginDate;
    }

    public Date getBeginDate() 
    {
        return beginDate;
    }
    public void setEndDate(Date endDate) 
    {
        this.endDate = endDate;
    }

    public Date getEndDate() 
    {
        return endDate;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setIsDeleted(Integer isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted() 
    {
        return isDeleted;
    }
    public void setDefaultTemplate(String defaultTemplate) 
    {
        this.defaultTemplate = defaultTemplate;
    }

    public String getDefaultTemplate() 
    {
        return defaultTemplate;
    }
    public void setDefaultImg(String defaultImg) 
    {
        this.defaultImg = defaultImg;
    }

    public String getDefaultImg() 
    {
        return defaultImg;
    }
    public void setCardNumber(String cardNumber) 
    {
        this.cardNumber = cardNumber;
    }

    public String getCardNumber() 
    {
        return cardNumber;
    }
    public void setCardBeginDate(Date cardBeginDate) 
    {
        this.cardBeginDate = cardBeginDate;
    }

    public Date getCardBeginDate() 
    {
        return cardBeginDate;
    }
    public void setCardRechargeDate(Date cardRechargeDate) 
    {
        this.cardRechargeDate = cardRechargeDate;
    }

    public Date getCardRechargeDate() 
    {
        return cardRechargeDate;
    }
    public void setCardUseDate(Date cardUseDate) 
    {
        this.cardUseDate = cardUseDate;
    }

    public Date getCardUseDate() 
    {
        return cardUseDate;
    }
    public void setUpdateCycle(Integer updateCycle) 
    {
        this.updateCycle = updateCycle;
    }

    public Integer getUpdateCycle() 
    {
        return updateCycle;
    }
    public void setLastUpdateDate(Date lastUpdateDate) 
    {
        this.lastUpdateDate = lastUpdateDate;
    }

    public Date getLastUpdateDate() 
    {
        return lastUpdateDate;
    }
    public void setLastDownDate(Date lastDownDate) 
    {
        this.lastDownDate = lastDownDate;
    }

    public Date getLastDownDate() 
    {
        return lastDownDate;
    }
    public void setUpdateImg(Boolean updateImg) 
    {
        this.updateImg = updateImg;
    }

    public Boolean getUpdateImg() 
    {
        return updateImg;
    }
    public void setUpdateSpeed(Boolean updateSpeed) 
    {
        this.updateSpeed = updateSpeed;
    }

    public Boolean getUpdateSpeed() 
    {
        return updateSpeed;
    }
    public void setUpdateUrl(Boolean updateUrl) 
    {
        this.updateUrl = updateUrl;
    }

    public Boolean getUpdateUrl() 
    {
        return updateUrl;
    }
    public void setUpdateDefaultImg(Boolean updateDefaultImg) 
    {
        this.updateDefaultImg = updateDefaultImg;
    }

    public Boolean getUpdateDefaultImg() 
    {
        return updateDefaultImg;
    }
    public void setCpuId(Long cpuId) 
    {
        this.cpuId = cpuId;
    }

    public Long getCpuId() 
    {
        return cpuId;
    }
    public void setPower(Long power) 
    {
        this.power = power;
    }

    public Long getPower() 
    {
        return power;
    }
    public void setSingal(Long singal) 
    {
        this.singal = singal;
    }

    public Long getSingal() 
    {
        return singal;
    }
    public void setFlow(Long flow) 
    {
        this.flow = flow;
    }

    public Long getFlow() 
    {
        return flow;
    }
    public void setChargeTimes(Long chargeTimes) 
    {
        this.chargeTimes = chargeTimes;
    }

    public Long getChargeTimes() 
    {
        return chargeTimes;
    }
    public void setImgId(Long imgId) 
    {
        this.imgId = imgId;
    }

    public Long getImgId() 
    {
        return imgId;
    }
    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }
    public void setBindImg(String bindImg) 
    {
        this.bindImg = bindImg;
    }

    public String getBindImg() 
    {
        return bindImg;
    }
    public void setBindImgData(String bindImgData) 
    {
        this.bindImgData = bindImgData;
    }

    public String getBindImgData() 
    {
        return bindImgData;
    }
    public void setFirmwareUpgrade(Integer firmwareUpgrade) 
    {
        this.firmwareUpgrade = firmwareUpgrade;
    }

    public Integer getFirmwareUpgrade() 
    {
        return firmwareUpgrade;
    }
    public void setFirmwareUpgradeResult(Integer firmwareUpgradeResult) 
    {
        this.firmwareUpgradeResult = firmwareUpgradeResult;
    }

    public Integer getFirmwareUpgradeResult() 
    {
        return firmwareUpgradeResult;
    }
    public void setFirmwareUpgradeTime(Date firmwareUpgradeTime) 
    {
        this.firmwareUpgradeTime = firmwareUpgradeTime;
    }

    public Date getFirmwareUpgradeTime() 
    {
        return firmwareUpgradeTime;
    }
    public void setTimeOutUpdateCycle(Long timeOutUpdateCycle) 
    {
        this.timeOutUpdateCycle = timeOutUpdateCycle;
    }

    public Long getTimeOutUpdateCycle() 
    {
        return timeOutUpdateCycle;
    }
    public void setState(Integer state) 
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }
    public void setRotateFlip(Integer rotateFlip) 
    {
        this.rotateFlip = rotateFlip;
    }

    public Integer getRotateFlip() 
    {
        return rotateFlip;
    }
    public void setRotateType(Integer rotateType) 
    {
        this.rotateType = rotateType;
    }

    public Integer getRotateType() 
    {
        return rotateType;
    }
    public void setFlipType(Integer flipType) 
    {
        this.flipType = flipType;
    }

    public Integer getFlipType() 
    {
        return flipType;
    }
    public void setUpdateDate(Date updateDate) 
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate() 
    {
        return updateDate;
    }
    public void setLastActiveIp(String lastActiveIp) 
    {
        this.lastActiveIp = lastActiveIp;
    }

    public String getLastActiveIp() 
    {
        return lastActiveIp;
    }
    public void setLat(Long lat) 
    {
        this.lat = lat;
    }

    public Long getLat() 
    {
        return lat;
    }
    public void setLng(Long lng) 
    {
        this.lng = lng;
    }

    public Long getLng() 
    {
        return lng;
    }
    public void setNation(String nation) 
    {
        this.nation = nation;
    }

    public String getNation() 
    {
        return nation;
    }
    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setDistrict(String district) 
    {
        this.district = district;
    }

    public String getDistrict() 
    {
        return district;
    }
    public void setForceUpdate(Integer forceUpdate) 
    {
        this.forceUpdate = forceUpdate;
    }

    public Integer getForceUpdate() 
    {
        return forceUpdate;
    }
    public void setCreateUserId(Long createUserId) 
    {
        this.createUserId = createUserId;
    }

    public Long getCreateUserId() 
    {
        return createUserId;
    }
    public void setDateCreated(Date dateCreated) 
    {
        this.dateCreated = dateCreated;
    }

    public Date getDateCreated() 
    {
        return dateCreated;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("deviceId", getDeviceId())
            .append("systemId", getSystemId())
            .append("typeId", getTypeId())
            .append("dzbqTypeId", getDzbqTypeId())
            .append("manufacturerId", getManufacturerId())
            .append("userId", getUserId())
            .append("agentId", getAgentId())
            .append("storeId", getStoreId())
            .append("useMode", getUseMode())
            .append("price", getPrice())
            .append("beginDate", getBeginDate())
            .append("endDate", getEndDate())
            .append("description", getDescription())
            .append("isDeleted", getIsDeleted())
            .append("defaultTemplate", getDefaultTemplate())
            .append("defaultImg", getDefaultImg())
            .append("cardNumber", getCardNumber())
            .append("cardBeginDate", getCardBeginDate())
            .append("cardRechargeDate", getCardRechargeDate())
            .append("cardUseDate", getCardUseDate())
            .append("updateCycle", getUpdateCycle())
            .append("lastUpdateDate", getLastUpdateDate())
            .append("lastDownDate", getLastDownDate())
            .append("updateImg", getUpdateImg())
            .append("updateSpeed", getUpdateSpeed())
            .append("updateUrl", getUpdateUrl())
            .append("updateDefaultImg", getUpdateDefaultImg())
            .append("cpuId", getCpuId())
            .append("power", getPower())
            .append("singal", getSingal())
            .append("flow", getFlow())
            .append("chargeTimes", getChargeTimes())
            .append("imgId", getImgId())
            .append("img", getImg())
            .append("bindImg", getBindImg())
            .append("bindImgData", getBindImgData())
            .append("firmwareUpgrade", getFirmwareUpgrade())
            .append("firmwareUpgradeResult", getFirmwareUpgradeResult())
            .append("firmwareUpgradeTime", getFirmwareUpgradeTime())
            .append("timeOutUpdateCycle", getTimeOutUpdateCycle())
            .append("state", getState())
            .append("rotateFlip", getRotateFlip())
            .append("rotateType", getRotateType())
            .append("flipType", getFlipType())
            .append("updateDate", getUpdateDate())
            .append("lastActiveIp", getLastActiveIp())
            .append("lat", getLat())
            .append("lng", getLng())
            .append("nation", getNation())
            .append("province", getProvince())
            .append("city", getCity())
            .append("district", getDistrict())
            .append("forceUpdate", getForceUpdate())
            .append("createUserId", getCreateUserId())
            .append("dateCreated", getDateCreated())
            .toString();
    }
}
